<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrmNCND.aspx.vb" Inherits="TGB.FrmNCND" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>NC/ND</title>
             <link href="TGB.css" rel="stylesheet" type="text/css"  />

</head>
<body>
    <form id="form1" runat="server">
    <div title="NC/ND">
        <table style="width :640px ; height:277px; background-image: url(imagenes/bg1.jpg); background-repeat: repeat-x; border-collapse: separate;">
            <tr>
                <td style="background-repeat: repeat-x; height: 10px; width: 699px;" align="center" valign="middle" colspan="2">
                    <img src="../imagenes/EitiSoft.jpg" style="width: 272px; height: 88px" />&nbsp;</td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-repeat: repeat-x; height: 10px; width: 699px;"
                    valign="middle">
                    <asp:Label ID="LblTitulo" runat="server" Style="font-weight: bold; font-size: 16px;
                        font-family: calibri" Text="Nota De Credito" Width="248px"></asp:Label></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-position: left center; background-image: url(imagenes/EitiSoft.jpg);
                    height: 1px; background-color: transparent; width: 699px;" valign="middle">
                    <table style="width: 495px">
                        <tr>
                            <td align="left" style="width: 76px; height: 16px;">
                                <asp:Label ID="Label2" runat="server" BorderStyle="None" CssClass="campotxt" Text="Numero :"></asp:Label></td>
                            <td align="left" style="width: 187px; height: 16px;">
                                <asp:Label ID="LblNumero" runat="server" BorderStyle="None" CssClass="campotxt" Font-Bold="True"
                                    Text="A-0001-"></asp:Label><asp:TextBox ID="TxtNumero" runat="server" CssClass="campotxt"
                                        Font-Bold="True" MaxLength="8" Width="57px" ValidationGroup="Agregar">00000000</asp:TextBox>
                                <asp:RangeValidator ID="RVNumeracion" runat="server" ControlToValidate="TxtNumero"
                                    CssClass="campotxt" Display="Dynamic" ErrorMessage="RangeValidator" MaximumValue="99999999"
                                    MinimumValue="00000001" Type="Integer" ValidationGroup="Agregar">Error, Numero Incorrecto</asp:RangeValidator></td>
                            <td align="left" style="width: 65px; height: 16px;">
                                <asp:Label ID="Label4" runat="server" BorderStyle="None" CssClass="campotxt" Text="Fecha :"></asp:Label></td>
                            <td align="left" style="width: 180px; height: 16px;">
                                <asp:Label ID="LblFecha" runat="server" BorderStyle="None" CssClass="campotxt" Font-Bold="True"
                                    Text="DD/MM/AAAA"></asp:Label></td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 76px">
                                <asp:Label ID="Label3" runat="server" BorderStyle="None" CssClass="campotxt" Text="Concepto :"></asp:Label></td>
                            <td align="left" style="width: 187px">
                                <asp:DropDownList ID="CboConcepto" runat="server" CssClass="campotxt" Width="148px">
                                </asp:DropDownList></td>
                            <td align="left" style="width: 65px">
                                <asp:Label ID="Label5" runat="server" BorderStyle="None" CssClass="campotxt" Text="Importe :"></asp:Label></td>
                            <td align="left" style="width: 180px">
                                <asp:TextBox ID="TxtImporte" runat="server" CssClass="campotxt" Width="81px" MaxLength="9" ValidationGroup="Agregar"></asp:TextBox>
                                <asp:RangeValidator ID="RvTotal" runat="server" ControlToValidate="TxtImporte" CssClass="campotxt"
                                    Display="Dynamic" ErrorMessage="RangeValidator" MaximumValue="999999,99" MinimumValue="0,01"
                                    Type="Double" ValidationGroup="Agregar">Maximo : 999999,99</asp:RangeValidator></td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 76px">
                                <asp:Label ID="Label6" runat="server" BorderStyle="None" CssClass="campotxt" Text="Factura :"></asp:Label></td>
                            <td align="left" style="width: 187px">
                                <asp:Label ID="LblFactura" runat="server" BorderStyle="None" CssClass="campotxt"
                                    Font-Bold="True" Text="A-0000-00000000"></asp:Label></td>
                            <td align="right" colspan="2">
                                <asp:LinkButton ID="LnkGuardar" runat="server" Font-Overline="False" Font-Size="10pt" ValidationGroup="Agregar">Guardar</asp:LinkButton>&nbsp;
                            </td>
                        </tr>
                    </table>
                    <asp:HiddenField ID="HFIdTipo" runat="server" />
                    <asp:HiddenField ID="HfIdFactura" runat="server" />
                    <asp:HiddenField ID="HfIdTalonario" runat="server" />
                    <asp:HiddenField ID="HfIdTrabado" runat="server" />
                    <asp:Label ID="LblError" runat="server" Font-Bold="True" Font-Names="Calibri" Font-Overline="False"
                        Font-Size="13px" Font-Strikeout="False" Font-Underline="False" ForeColor="Red"
                        Style="text-align: center" Width="100%"></asp:Label></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-position: left center; background-image: url(imagenes/EitiSoft.jpg);
                    width: 699px; height: 1px; background-color: transparent" valign="middle">
                    <asp:GridView ID="GridComprobantes" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                        CellPadding="4" CellSpacing="1" ForeColor="Black" GridLines="Horizontal" Height="48px"
                        PageSize="8" Style="text-align: center" Width="680px">
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                        <Columns>
                            <asp:TemplateField HeaderText="Numero">
                                <ItemTemplate>
                                    <asp:Label ID="LblNumero" runat="server" Text='<%# Bind("Numero") %>'></asp:Label>
                                    <asp:HiddenField ID="HFIdComprobante" runat="server" Value='<%# bind("IdComprobante") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Concepto">
                                <ItemTemplate>
                                    <asp:Label ID="LblConcepto" runat="server" Text='<%# Bind("Concepto") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Fecha">
                                <ItemTemplate>
                                    <asp:Label ID="LblFecha" runat="server" Text='<%# Bind("Fecha") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Total">
                                <ItemTemplate>
                                    <asp:Label ID="LblTotal" runat="server" Text='<%# Bind("Total") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Estado">
                                <ItemTemplate>
                                    <asp:Label ID="LblEstado" runat="server" Text='<%# Bind("Estado") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton ID="LnkAnular" runat="server" CommandName="Anular">Anular</asp:LinkButton>&nbsp;
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle Font-Names="Calibri" Font-Size="12px" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" Font-Names="Calibri" Font-Size="12px"
                            ForeColor="White" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td align="center" style="width: 1648px" valign="middle">
                    <img src="../imagenes/LogoEiti.JPG" style="width: 24px; height: 24px" /></td>
            </tr>
            <tr>
                <td align="right" colspan="2" valign="middle" style="height: 10px; background-repeat: repeat-x; background-image: url(imagenes/bg.jpg); width: 699px;">
                
                    <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>
                    &nbsp;
                   
                   </td>
    </tr>
        </table>



    
    </div>

    </form>
</body>
</html>
